class Music {
  final int id;
  final String title;
  final String artist;
  final String? path; // 本地文件路径
  final String? url; // 网络URL
  final String duration;
  final String coverUrl;

  Music({
    required this.id,
    required this.title,
    required this.artist,
    this.path,
    this.url,
    required this.duration,
    required this.coverUrl,
  });
}